home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993 October: Windmill on DISC / ADC Developer CD (1993-10) (''Windmill On DISC'')_iso / Dev.CD Oct 93.iso / System Software / U.S. System Software / System 7 Pro™ Beta 11 / Development Tools / Sample Code / Standard Mail / CollaboDraw (w⁄DigiSign) / globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-11  |  1.5 KB  |  51 lines  |  [TEXT/MPS ]

  1. /*-------------------------------------------------------------------------------------
  2.  *
  3.  * Simple Sample AOCE Application Framework
  4.  *
  5.  * ©1991-1993 Apple Computer
  6.  *
  7.  -------------------------------------------------------------------------------------*/
  8. /*
  9.  * globals.c -- repository for global variables
  10.  *
  11.  * change history:
  12.  *
  13.  * SJF        04/21/93        1.0b2        update to b2
  14.  * SJF        03/01/93        1.0b1        added digital signatures
  15.  * SJF        02/09/93        1.0b1        update to b1
  16.  * SJF        10/13/92        1.0d4        update to a11
  17.  * SJF        09/09/92        1.0d3        update to a9
  18.  * SJF        05/07/92        1.0d2        update to a6
  19.  * SJF        11/06/91        1.0d1        initial coding
  20.  *
  21.  */
  22.  
  23. #include "const.h"
  24. #include "mytypes.h"
  25.  
  26. /* configuration flags */
  27.  
  28. Boolean    gHasWaitNextEvent;        // true if we have waitnextevent available
  29. Boolean    gHasAOCE;                // set if the AOCE toolbox is available
  30.  
  31. /* action flags */
  32.  
  33. Boolean    gDone;                    // application should terminate when set
  34. Boolean    gInBackground;            // true if application is in the background
  35. Boolean    gMenusDirty;            // true if the menu bar needs re-drawing
  36.  
  37. /* global values */
  38.  
  39. short     gCurrentShape;            // shape to draw with
  40. Cursor    gPencilCursor;            // pencil cursor for drawing
  41. Cursor    gWatchCursor;            // watch cursor for waiting
  42. RgnHandle gCursorRgn;            // cursor change region for WaitNextEvent
  43. long    gNextWindowToMake;        // next window #
  44.  
  45. Boolean    gCanUndo;                // true if we can undo
  46. Boolean    gHasUndo;                // true if we just did an undo
  47. UndoData gUndoCommand;            // undo command data
  48.  
  49. Boolean    gShowSigners;            // true if we want to show signers
  50.  
  51. MyPreferences gPreferences;        // preferences for app